\documentclass[letterpaper,titlepage]{article}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Config
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Page layout, header, footer
\usepackage{fullpage}
\usepackage{float}	
%\setlength{\parindent}{0pt}
\usepackage{listings}


% For graphics
\usepackage{subfigure}
\usepackage{graphicx}
\graphicspath{{./gfx/}}
\usepackage{wrapfig}

% For URLs
\usepackage[colorlinks,
            linkcolor=black,
            filecolor=blue,
            urlcolor=blue,
            citecolor=blue]
            {hyperref}

\usepackage{fancyhdr}
\setlength{\headheight}{15pt}
\setlength{\headsep}{25pt}
\pagestyle{fancy}

\fancyhf{} % clear all header and footer fields
\fancyhead[L]{CS540 - High Performance Computing}
\fancyhead[R]{Final Project}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\newcommand{\bullets}[1]{\begin{itemize} #1 \end{itemize}}
\newcommand{\deflist}[1]{\begin{description} #1 \end{description}}

\newcommand{\ttt}[1]{\texttt{#1}}


%override default text used for figure captions
\renewcommand{\figurename}{Graph}

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title Page 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{\textbf{CS540 - High Performance Computing}}
\author{\textbf{Final Report}\\
  Lingchuan Meng\\ 
	Don Naegely\\
	Abizer Nayeem\\
	Joydeep Tripathi\\
}
\date{\today}
\maketitle
\pagebreak

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\thispagestyle{plain}
\setcounter{tocdepth}{3}
\tableofcontents
\pagebreak

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Body
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{page}{1}
\pagenumbering{arabic}

\section{Introduction}
All tests were run on \ttt{tux64-03.cs.drexel.edu}. All code included in this project was compiled using the \ttt{-O2} flag. Information describing the machine and the compiler is included below:

\lstset{frame=single,caption=OS information,}
\label{lst:uname}
\begin{lstlisting}
Linux tux64-03.cs.drexel.edu 2.6.24.3-nfsgroups-perfctr #1 SMP 
Thu Jul 31 16:34:17 EDT 2008 x86_64 GNU/Linux
\end{lstlisting}

\lstset{frame=single,caption=Compiler information,}
\label{lst:compiler}
\begin{lstlisting}
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,
obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu

Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
\end{lstlisting}

\lstset{frame=single,caption=papi\_avail output,}
\label{lst:papi_avail}
\begin{lstlisting}
Vendor string and code   : AuthenticAMD (2)
Model string and code    : AMD K8 Revision C (15)
CPU Revision             : 10.000000
CPU Megahertz            : 1809.271973
CPU Clock Megahertz      : 1809
CPU's in this Node       : 2
Nodes in this System     : 1
Total CPU's              : 2
Number Hardware Counters : 4
Max Multiplex Counters   : 32
\end{lstlisting}

\input{background}
\input{performance}
\input{vectorization}
\input{conclusions}

\clearpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% References
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\end{document}
